import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            int a = sc.nextInt();
            int b = sc.nextInt();
            System.out.println(a + b);
        }

    }

    public static boolean boString(String a, String b) {
        boolean flag = true;

        if (a.length() != b.length()) {
            flag = false;
        }

        int[] arr = new int[a.length()];
        for (int i = 0; i < a.length(); i++) {

        }

        return flag;
    }
}
